package net.tngou.service;

import java.awt.Rectangle;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.imageio.ImageIO;


import net.tngou.entity.PageUtil;
import net.tngou.enums.UserEnum;
import net.tngou.pojo.User;
import net.tngou.util.DigestMD;
import net.tngou.util.DigestSHA;
import net.tngou.util.Pinyin4j;
import net.tngou.util.StringUtil;

import org.apache.commons.lang3.math.NumberUtils;
import org.apache.commons.lang3.time.DateUtils;





public class UserService  extends BaseService
{
	
	private final static  String fullyQualifiedName = "User_List";
	
	
			
			/**
			 * 通过邮件/账号+密码 取得用户信息
			 * @param name
			 * @param password
			 * @return
			 */
			public User getUser(String name,String password) {
				User bean = new User();
				Map<String, Object> map = new HashMap<String, Object>();
				map.put("username", name);
				map.put("password", password);
				return  bean.get(map);
			}
		
			

}		

